import logging

import config
import unittest
from htmltestreport import HTMLTestReport

from common.logging_use import LogSet
from scripts.test_ihrm_emp import TestIhrm_empParmas
from scripts.test_ihrmlogin_api_param import TestIhrmlogin
# LogSet.init_log_config('日志.log')
# logging.info('这是一条信息级别日志')
suite=unittest.TestSuite()
suite.addTest(unittest.makeSuite(TestIhrmlogin))
suite.addTest(unittest.makeSuite(TestIhrm_empParmas))


runner=HTMLTestReport(config.BASE_DIR + '/report/ihrmsys_.html',
                      description='ihrm系统接口测试',title='ihrm系统API业务测试')
runner.run(suite)